package com.gxy.learn.backup.shiroauth.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gxy.learn.backup.shiroauth.entity.SysRole;
import com.gxy.learn.backup.shiroauth.vo.SysUserRoleVO;

import java.util.List;

/**
 * author: Gao xueyong
 * Create at: 2022/1/4 下午11:51
 */
public interface SysRoleService extends IService<SysRole> {
    /**
     * 根据账号获取角色信息
     * @param account
     * @return
     */
    List<SysUserRoleVO> getSysRolesByAccount(String account);
}
